package com.yantong.service;


import com.yantong.pojo.IsteamDesc;
import com.yantong.pojo.ListMemberParams;
import com.yantong.pojo.Member;
import com.yantong.utils.PageUtils;

import java.util.List;

/**
  * @Description:
  * Copyright: Copyright (c) 2018 
  * Company: 拒绝门店 Service
  * @author xiangyi
  * @version V1.0.0
  * @since 3.0
  * @date 2018年9月3日 下午2:12:32
 */
public interface RegCommanderService {
    /**
     * 已拒绝门店列表
     * @param member
     * @param offset
     * @param limit
     * @return
     */
    PageUtils<Member> listCommander(Member member, int offset, int limit);
    
    /**
     * 已关闭门店列表
     * @param member
     * @param offset
     * @param limit
     * @return
     */
    PageUtils<Member> listCloseCommander(Member member, int offset, int limit);
    
   /**
    * 已打烊门店列表
    * @param member
    * @param offset
    * @param limit
    * @return
    */
    PageUtils<Member> listDyCommander(Member member, int offset, int limit);
    
    /**
     * 取消打烊门店
     * @param id
     * @return
     */
    int cancelCommander(Long id);
    
    /**
     * 黑名单列表
     * @param listMemberParams
     * @param member
     * @param offset
     * @param limit
     * @return
     */
    PageUtils<Member> blackListCommander(ListMemberParams listMemberParams, Member member, int offset, int limit);
    
    /**
     * 移除黑名单
     * @param id
     * @return
     */
    int removeBlack(Long id);
    
    /**
     * 未审核列表
     * @param listMemberParams
     * @param member
     * @param offset
     * @param limit
     * @return
     */
    PageUtils<Member> noCheckCommander(ListMemberParams listMemberParams, Member member, int offset, int limit);
    
    /**
     * 批量更新门店批次
     * @param ids
     * @param teamNum
     * @return
     */
    int batchUpdates(String ids, Integer teamNum);
    
    /**
     * 批量审核并开通
     * @param ids
     * @param isteam
     * @return
     */
    int batchExamine(String ids, Integer isteam);
    
    /**
     * 未审核列表
     * @param listMemberParams
     * @param member
     * @return
     */
    List<Member> noCheckCommander(ListMemberParams listMemberParams, Member member);
    
    /**
     * 已拒绝门店列表
     * @param member
     * @return
     */
    List<Member> listCommander(Member member);
    
    /**
     * 已关闭门店列表
     * @param member
     * @return
     */
    List<Member> listCloseCommander(Member member);
    
    /**
     * 已打烊门店列表
     * @param member
     * @return
     */
     List<Member> listDyCommander(Member member);
     
     /**
      * 获取申请门店时所填(身份证、工商营业执照、许可证、门店照片等信息)
      * @param isteamDesc
      * @return
      */
     IsteamDesc getIsteamDesc(String isteamDesc);
}
